package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF8BW0800 {
    private static double[] cer = {
            1.3734e-09,
            -4.8827e-07,
            6.2307e-05,
            -0.0034244,
            0.076932,
            0.31329,
            0.80983,
    };
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    6.5401,
                    9.0578,
                    8.3254,
                    8.7145,
                    7.9134,
                    5.8535,
                    2.9238,
                    3.3586,
                    3.7935,
                    4.5946,
                    3.3358,
                    3.3815,
                    2.466,
                    2.2829,
                    2.26,
                    2.6949,
                    2.5576,
                    2.6949,
                    2.7407,
                    1.9625,
                    2.6491,
                    2.6262,
                    2.466,
                    2.466,
                    2.6491,
                    2.5118,
                    2.6949,
                    2.6033,
                    2.2371,
                    2.0082,
                    2.4202,
                    2.3745,
                    2.3287,
                    1.2758,
                    2.3745,
                    2.1456,
                    2.4202,
                    2.2371,
                    2.1913,
                    2.1913,
                    2.0998,
                    1.9167,
                    1.7336,
                    1.9625,
                    2.0082,
                    3.1069,
                    3.5646,
                    3.2442,
                    2.6033,
                    2.3287,
                    2.466,
                    3.0153,
                    3.1527,
                    3.5189,
                    3.6562,
                    4.0682,
                    4.3886,
                    3.9309,
                    4.1597,
                    4.5259,
                    4.0682,
                    4.2971,
                    4.4802,
                    6.1739,
                    4.9837,
                    4.8006,
                    5.1668,
                    5.6246,
                    6.5859,
                    5.5788,
                    6.357,
                    6.8605,
                    5.8077,
                    5.533,
                    7.0436,
                    7.2267,
                    7.0436,
                    6.9979,
                    7.6387,
                    7.5014,
                    7.181,
                    7.2267,
                    7.2725,
                    7.0894,
                    7.5014,
                    7.4099,
                    7.181,
                    7.8676,
                    7.8676,
                    7.8218,
                    8.1423,
                    8.6458,
                    8.2796,
                    6.9063,
                    8.1881,
                    8.0049,
                    7.9134,
                    8.8289,
                    9.1951,
                    9.1951,
                    8.8289,
                    8.8289,
                    8.6916,
                    9.012,
                    9.1951,
                    9.2867,
                    9.1494,
                    9.1494,
                    9.1494,
                    9.3782,
                    9.2867,
                    8.9205,
                    9.0578,
                    9.6071,
                    9.6071,
                    9.4698,
                    9.3325,
                    9.1951,
                    8.5543,
                    9.0807,
                    9.6071,
                    8.9205,
                    8.9205,
                    8.9205,
                    8.9205,
                    8.9205,
                    8.9205,

            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
